#include <iostream>
#include <vector>
#include <set>
using namespace std;

int countDistinctWord(string str) {
	//todo add your algorithm here
}

int main() {
	string str = "hello hello world world! Nihao";
	cout << countDistinctWord(str) << endl;

	return 0;
}